package com.moli.iov.sys.enums;
/**
 * <p>
 * 权限类型
 * </p>
 *
 * @author zql
 * @since 2019/9/25 10:48
 */
public enum PermissionTypeEnum {

  /**
   * 菜单
   */
  MENU(1, "菜单"),

  /**
   * 按钮
   */
  BUTTON(2, "按钮"),

  /**
   * api
   */
  API(3, "API");

  private int flag;


  private String msg;

  PermissionTypeEnum(int flag, String msg) {
    this.flag = flag;
    this.msg = msg;
  }


  public int getFlag() {
    return flag;
  }

}
